package com.hsgene.message.service;

import com.hsgene.message.domain.MessageInfo;

import java.util.Map;

/**
 * @Author: wangxuefeng@hsgene.com
 * @Description:
 * @Date: Created in 15:35 2018/6/25
 * @Modified By:
 */
public interface MessageService {
    /**
     * 将消息信息插入数据库
     *
     * @param messageInfo 信息对象
     * @return
     */
    int insert(MessageInfo messageInfo);

    /**
     * @param phone
     * @return java.util.Map
     * @description 根据电话获取验证码
     * @author maodi
     * @createDate 2018/10/8 10:06
     */
    Map<String, Object> getVerifyCodeByPhone(String phone);
}
